from flask import Blueprint, render_template

from module.article import Article

index = Blueprint("index",__name__)

@index.route('/')
def home():
    article = Article()
    result = article.find_limit_with_users(0,10)
    return render_template('index.html',result=result)